﻿using System;
namespace MxWeiXinPF.Model
{
	/// <summary>
	/// wxapp_buyOrders:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class wxapp_buyOrders
	{
		public wxapp_buyOrders()
		{}
		#region Model
		private int _id;
		private int? _userid;
		private string _username;
		private string _storename;
		private int? _wxappid;
		private string _wxappname;
		private decimal? _price;
		private int? _status;
		private string _orderno;
		private string _tradeno;
		private string _paymenttype;
		private int? _paymentstatus;
		private DateTime? _paymenttime;
		private DateTime? _createtime;
		private int? _createpersonid;
		private int? _buytype;
		private string _remark;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 用户id
		/// </summary>
		public int? userId
		{
			set{ _userid=value;}
			get{return _userid;}
		}
		/// <summary>
		/// 用户名
		/// </summary>
		public string username
		{
			set{ _username=value;}
			get{return _username;}
		}
		/// <summary>
		/// 店铺名称
		/// </summary>
		public string storeName
		{
			set{ _storename=value;}
			get{return _storename;}
		}
		/// <summary>
		/// 小程序表主键id
		/// </summary>
		public int? wxappId
		{
			set{ _wxappid=value;}
			get{return _wxappid;}
		}
		/// <summary>
		/// 小程序名称
		/// </summary>
		public string wxappName
		{
			set{ _wxappname=value;}
			get{return _wxappname;}
		}
		/// <summary>
		/// 购买价
		/// </summary>
		public decimal? price
		{
			set{ _price=value;}
			get{return _price;}
		}
		/// <summary>
		/// 状态
		/// </summary>
		public int? status
		{
			set{ _status=value;}
			get{return _status;}
		}
		/// <summary>
		/// 订单编号
		/// </summary>
		public string orderNo
		{
			set{ _orderno=value;}
			get{return _orderno;}
		}
		/// <summary>
		/// 交易号（第3方支付给的）
		/// </summary>
		public string tradeNo
		{
			set{ _tradeno=value;}
			get{return _tradeno;}
		}
		/// <summary>
		/// 支付方式(微信支付 wxpay，线下online,支付宝alipay)
		/// </summary>
		public string paymentType
		{
			set{ _paymenttype=value;}
			get{return _paymenttype;}
		}
		/// <summary>
		/// 支付状态
		/// </summary>
		public int? paymentStatus
		{
			set{ _paymentstatus=value;}
			get{return _paymentstatus;}
		}
		/// <summary>
		/// 支付成功的时间
		/// </summary>
		public DateTime? paymentTime
		{
			set{ _paymenttime=value;}
			get{return _paymenttime;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? createTime
		{
			set{ _createtime=value;}
			get{return _createtime;}
		}
		/// <summary>
		/// 创建者
		/// </summary>
		public int? createPersonId
		{
			set{ _createpersonid=value;}
			get{return _createpersonid;}
		}
		/// <summary>
		/// 购买类型（1第一次购买，2续费）
		/// </summary>
		public int? buyType
		{
			set{ _buytype=value;}
			get{return _buytype;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		#endregion Model

	}
}

